package com.eye.catcher.mapper;

import com.eye.catcher.entity.TCodDaDictionary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eye.catcher.system.dictionary.param.DictionaryDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author huzhiwei
 * @since 2022-02-18
 */
@Mapper
public interface TCodDaDictionaryMapper extends BaseMapper<TCodDaDictionary> {


    public abstract List<TCodDaDictionary> getGeneralList(DictionaryDto dictionaryDto);

    public abstract List<TCodDaDictionary> getGeneralPageList(DictionaryDto dictionaryDto);

    public abstract long getGeneralPageCount(DictionaryDto dictionary);

    public abstract void deleteByCode(DictionaryDto dictionary);

    public abstract void saveDictionary(DictionaryDto dictionary);

    public abstract void editDictionary(DictionaryDto dictionary);
}
